home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #1
/
Amiga Plus CD - 1996 - No. 1.iso
/
pd
/
grafik
/
dust_v2.34
/
dusthelp
/
functions
< prev
next >
Wrap
Text File
|
1995-09-28
|
1KB
|
32 lines
Functions
-----------------------------------------------------------------
All Dust-commands allow mathematical expressions instead of
plain numbers, other commands require expressions containing
special variables:
1. Special parameters required by the FUNC-commands:
X0 - initial x-coordinate
Y0 - initial y-coordinate
Z0 - initial z-coordinate
T0 - parameter
Example: You want to plot the 2D-Function sin(x^2+y^2):
-load a plane (dimensions -50..-50,-50..50,0..0)
-now enter "func(2,"30*sin(x0*x0/30+y0*y0/30)",0,z)"
This uses the x- and y-coordinates to modify the"
z-coordinate of the plane."
2.Constants
'pi', 'ee' (2.71..)
3.Operators
'+','-', ':-(', '/', '^'
4.Functions
'jump','entier','int','abs','sqr','sqrt',
'exp','ln','log','log10','log2','tentox','twotox',
'sin','arcsin','cos','arccos','tan','arctan',
'sinh','cosh','tanh','artanh', 'degtorad','radtodeg',
'rnd','fac','ceil','floor','round');
NOTES: 1. All angles in degrees.